package com.gopay.common.domain.pg;

import com.gopay.common.domain.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * Created by b.zou on 2017.07.21.
 * 
 * @Description 跨境进口流水分账辅助表
 */
@Entity
@Table(name = "PG_CB_RMB_ORDER_ASSIST_DTL")
public class PgCbRmbOrderAssistDtl extends BaseEntity {

    private static final long serialVersionUID = 6909124945385258533L;

    /**
     * 网关交易流水号(对应进口订单的网关交易流水号)
     */
    private int transDtlSq;
    /**
     * 是否分账：1--是 0--否
     */
    private String isSplit;
    /**
     * 分账类型： 01--固定金额 02--固定比例
     */
    private String splitType;
    /**
     * 分账值： 如1;2;5(固定金额) 20%;10%;12%(固定比例)
     */
    private String splitValue;
    /**
     * 分账账户： 如0000001;0000002
     */
    private String splitAcctId;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 最后修改时间
     */
    private Date lastUpdateTime;
    /**
     * 版本号
     */
    private String version;
    /**
     * 备注1
     */
    private String remark1;

    /**
     * 账单姓名
     */
    private String billName;

    /**
     * 账单地址
     */
    private String billAddress;

    /**
     * 账单邮编
     */
    private String billPostalCode;

    /**
     * 公司名称
     */
    private String billCompany;

    /**
     * 账单国家
     */
    private String billCountry;

    /**
     * 账单州省
     */
    private String billState;

    /**
     * 账单城市
     */
    private String billCity;

    /**
     * 账单邮箱
     */
    private String billEmail;

    /**
     * 账单电话号码
     */
    private String billPhoneNumber;

    /**
     * 收货人姓名
     */
    private String shippingName;

    /**
     * 收货人地址
     */
    private String shippingAddress;

    /**
     * 收货人邮编
     */
    private String shippingPostalCode;

    /**
     * 收货人公司名称
     */
    private String shippingCompany;

    /**
     * 收货人国家
     */
    private String shippingCountry;

    /**
     * 收货人州省
     */
    private String shippingState;

    /**
     * 收货人城市
     */
    private String shippingCity;

    /**
     * 收货人邮箱
     */
    private String shippingEmail;

    /**
     * 收货人电话号码
     */
    private String shippingPhoneNumber;

    /**
     * 商户网站用户注册邮箱地址
     */
    private String registerUserEmail;

    /**
     * 注册时间
     */
    private String registerTime;

    /**
     * 注册 IP
     */
    private String registerIp;

    /**
     * 注册终端设备 00 PC 01 手机 02 其他
     */
    private String registerTerminal;

    /**
     * 付款人下单时终端设备 00 PC 01 手机 02 其他
     */
    private String orderTerminal;

    /**
     * 商户是否需要3D验证：Y是；N否
     */
    private String flagThreeD;

    public PgCbRmbOrderAssistDtl() {
    }

    @Id
    @Column(name = "TRANS_DTL_SQ", unique = true, nullable = false, length = 30)
    public int getTransDtlSq() {
        return transDtlSq;
    }

    public void setTransDtlSq(int transDtlSq) {
        this.transDtlSq = transDtlSq;
    }

    @Column(name = "IS_SPLIT", length = 10)
    public String getIsSplit() {
        return isSplit;
    }

    public void setIsSplit(String isSplit) {
        this.isSplit = isSplit;
    }

    @Column(name = "SPLIT_TYPE", length = 10)
    public String getSplitType() {
        return splitType;
    }

    public void setSplitType(String splitType) {
        this.splitType = splitType;
    }

    @Column(name = "SPLIT_VALUE", length = 200)
    public String getSplitValue() {
        return splitValue;
    }

    public void setSplitValue(String splitValue) {
        this.splitValue = splitValue;
    }

    @Column(name = "SPLIT_ACCT_ID", length = 200)
    public String getSplitAcctId() {
        return splitAcctId;
    }

    public void setSplitAcctId(String splitAcctId) {
        this.splitAcctId = splitAcctId;
    }

    @Column(name = "CREATE_TIME")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Column(name = "LAST_UP_TIME")
    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    @Column(name = "VERSION")
    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    @Column(name = "REMARK1", length = 500)
    public String getRemark1() {
        return remark1;
    }

    public void setRemark1(String remark1) {
        this.remark1 = remark1;
    }

    @Column(name = "BILL_NAME", length = 100)
    public String getBillName() {
        return this.billName;
    }

    public void setBillName(String billName) {
        this.billName = billName;
    }

    @Column(name = "BILL_ADDRESS", length = 200)
    public String getBillAddress() {
        return this.billAddress;
    }

    public void setBillAddress(String billAddress) {
        this.billAddress = billAddress;
    }

    @Column(name = "BILL_POSTAL_CODE", length = 20)
    public String getBillPostalCode() {
        return this.billPostalCode;
    }

    public void setBillPostalCode(String billPostalCode) {
        this.billPostalCode = billPostalCode;
    }

    @Column(name = "BILL_COMPANY", length = 200)
    public String getBillCompany() {
        return this.billCompany;
    }

    public void setBillCompany(String billCompany) {
        this.billCompany = billCompany;
    }

    @Column(name = "BILL_COUNTRY", length = 20)
    public String getBillCountry() {
        return this.billCountry;
    }

    public void setBillCountry(String billCountry) {
        this.billCountry = billCountry;
    }

    @Column(name = "BILL_STATE", length = 20)
    public String getBillState() {
        return this.billState;
    }

    public void setBillState(String billState) {
        this.billState = billState;
    }

    @Column(name = "BILL_CITY", length = 20)
    public String getBillCity() {
        return this.billCity;
    }

    public void setBillCity(String billCity) {
        this.billCity = billCity;
    }

    @Column(name = "BILL_EMAIL", length = 100)
    public String getBillEmail() {
        return this.billEmail;
    }

    public void setBillEmail(String billEmail) {
        this.billEmail = billEmail;
    }

    @Column(name = "BILL_PHONE_NUMBER", length = 20)
    public String getBillPhoneNumber() {
        return this.billPhoneNumber;
    }

    public void setBillPhoneNumber(String billPhoneNumber) {
        this.billPhoneNumber = billPhoneNumber;
    }

    @Column(name = "SHIPPING_NAME", length = 100)
    public String getShippingName() {
        return this.shippingName;
    }

    public void setShippingName(String shippingName) {
        this.shippingName = shippingName;
    }

    @Column(name = "SHIPPING_ADDRESS", length = 100)
    public String getShippingAddress() {
        return this.shippingAddress;
    }

    public void setShippingAddress(String shippingAddress) {
        this.shippingAddress = shippingAddress;
    }

    @Column(name = "SHIPPING_POSTAL_CODE", length = 20)
    public String getShippingPostalCode() {
        return this.shippingPostalCode;
    }

    public void setShippingPostalCode(String shippingPostalCode) {
        this.shippingPostalCode = shippingPostalCode;
    }

    @Column(name = "SHIPPING_COMPANY", length = 200)
    public String getShippingCompany() {
        return this.shippingCompany;
    }

    public void setShippingCompany(String shippingCompany) {
        this.shippingCompany = shippingCompany;
    }

    @Column(name = "SHIPPING_COUNTRY", length = 20)
    public String getShippingCountry() {
        return this.shippingCountry;
    }

    public void setShippingCountry(String shippingCountry) {
        this.shippingCountry = shippingCountry;
    }

    @Column(name = "SHIPPING_STATE", length = 20)
    public String getShippingState() {
        return this.shippingState;
    }

    public void setShippingState(String shippingState) {
        this.shippingState = shippingState;
    }

    @Column(name = "SHIPPING_CITY", length = 20)
    public String getShippingCity() {
        return this.shippingCity;
    }

    public void setShippingCity(String shippingCity) {
        this.shippingCity = shippingCity;
    }

    @Column(name = "SHIPPING_EMAIL", length = 100)
    public String getShippingEmail() {
        return this.shippingEmail;
    }

    public void setShippingEmail(String shippingEmail) {
        this.shippingEmail = shippingEmail;
    }

    @Column(name = "SHIPPING_PHONE_NUMBER", length = 20)
    public String getShippingPhoneNumber() {
        return this.shippingPhoneNumber;
    }

    public void setShippingPhoneNumber(String shippingPhoneNumber) {
        this.shippingPhoneNumber = shippingPhoneNumber;
    }

    @Column(name = "REGISTER_USER_EMAIL", length = 60)
    public String getRegisterUserEmail() {
        return this.registerUserEmail;
    }

    public void setRegisterUserEmail(String registerUserEmail) {
        this.registerUserEmail = registerUserEmail;
    }

    @Column(name = "REGISTER_TIME", length = 14)
    public String getRegisterTime() {
        return this.registerTime;
    }

    public void setRegisterTime(String registerTime) {
        this.registerTime = registerTime;
    }

    @Column(name = "REGISTER_IP", length = 128)
    public String getRegisterIp() {
        return this.registerIp;
    }

    public void setRegisterIp(String registerIp) {
        this.registerIp = registerIp;
    }

    @Column(name = "REGISTER_TERMINAL", length = 2)
    public String getRegisterTerminal() {
        return this.registerTerminal;
    }

    public void setRegisterTerminal(String registerTerminal) {
        this.registerTerminal = registerTerminal;
    }

    @Column(name = "ORDER_TERMINAL", length = 2)
    public String getOrderTerminal() {
        return this.orderTerminal;
    }

    public void setOrderTerminal(String orderTerminal) {
        this.orderTerminal = orderTerminal;
    }

    @Column(name = "FLAG_THREED", length = 1)
    public String getFlagThreeD() {
        return flagThreeD;
    }

    public void setFlagThreeD(String flagThreeD) {
        this.flagThreeD = flagThreeD;
    }

    @Override
    public String toString() {
        return super.toString();
    }
}
